package com.example.mapper;

import com.example.po.Sys_Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @auter czcjq
 * @date 2022/5/17 15:48
 */
public interface Sys_OrderMapper {

    List<Sys_Order> listAll();

    List<Sys_Order> listByUid(@Param("uid") int uid);

    List<Sys_Order> findOne(@Param("id") int id);

    int addOrder(Sys_Order order);

    int delOrder(@Param("id") int id);

}
